dc circuits problems and solutions